package cn.kgc.client;

import cn.kgc.commons.vo.Result;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * <p>添加描述信息</p>
 *
 * @author 卢传琪
 */
@FeignClient(value = "mall-wms",path = "/wms/wareSku",fallback = WmsWareSkuFeignClientImpl.class)
public interface WmsWareSkuFeignClient {
    @GetMapping("/hasStock")
    Result<Boolean> hasStock(@RequestParam(name = "skuId") Long skuId);
}
